package com.liangtian.mdm.base;

import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.common.Mapper;
import tk.mybatis.mapper.common.MySqlMapper;

/**
 * 通用Mapper
 * MapperScan里的basePackage不能包含通用mapper(BaseDao)的路径，
 * 只包含其他的mapper的路径，不然会报错
 * @param <T>
 */
@Repository
public interface BaseDao<T> extends Mapper<T>, MySqlMapper {

}
